package com.start.workflow.common.enums;

import com.start.common.enums.StartBaseStringEnum;

public enum StartActUserTaskConf implements StartBaseActConfEnum {

    CANDIDATE_USER("act_task_candidate_user", "用户任务候选人", true),
    FORM_TABLE("act_task_bus_data_form", "用户任务表单", false);
    private final String label;
    private final String value;
    private final boolean isCheckConf;


    StartActUserTaskConf(String value, String label, boolean isCheckConf) {
        this.value = value;
        this.label = label;
        this.isCheckConf = isCheckConf;

    }

    public String getLabel() {
        return label;
    }

    public String getValue() {
        return value;
    }

    /**
     * 是否检查配置
     *
     * @return
     */
    @Override
    public boolean isCheckConf() {
        return isCheckConf;
    }

    /**
     * 配置类型
     *
     * @return
     */
    @Override
    public String getActType() {
        return "user_task";
    }
}
